home *** CD-ROM | disk | FTP | other *** search
- Path: news1.h1.usa.pipeline.com!usenet
- From: grantp@usa.pipeline.com(Pete)
- Newsgroups: comp.lang.c++
- Subject: Re: realloc equivalent in C++
- Date: 11 Feb 1996 12:10:59 GMT
- Organization: Kalevi, Inc.
- Message-ID: <4fkmcj$olk@news1.usa.pipeline.com>
- References: <4fgir1$pri@theory.tc.cornell.edu>
- NNTP-Posting-Host: pipe10.h1.usa.pipeline.com
- X-PipeUser: grantp
- X-PipeHub: usa.pipeline.com
- X-PipeGCOS: (Pete)
- X-Newsreader: Pipeline USA v3.3.0
-
- On Feb 09, 1996 22:45:53 in article <realloc equivalent in C++>,
- 'hzhou@r26n05.tc.cornell.edu (Honbo Zhou)' wrote:
-
-
- >Is there anything in C++ equvalent to realloc in C which can be used
- >to increase allocated memory? Can't find this even in C++ books which
- >talk about memory management specifically. Thanks. Honbo
-
- C++ supports standard C library functions to include malloc, realloc,
- calloc, etc.. Just remember that memory allocated with C functions
- must be disposed of with C library function free().
-
- --
- Pete Grant
- Kalevi, Inc.
- Object Oriented Software Development
-